<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <select name="" v-model="fruit">
            <option value="苹果">apple</option>
            <option value="香蕉">banana</option>
            <option value="橘子">orange</option>
            <option value="西瓜">watermelon</option>
        </select>
        <h2>{{fruit}}</h2>
        <br>
        <select name="" v-model="fruits" multiple>
            <option value="苹果">apple</option>
            <option value="香蕉">banana</option>
            <option value="橘子">orange</option>
            <option value="西瓜">watermelon</option>
        </select>
        <h2>{{fruits}}</h2>
        
    </div>
    <script src="../vue.js"></script>
    <script>
        const app = new Vue({
            el: '#app',
            data: {
                fruit: '',
                fruits: []
            }
        })
    </script>
    
</body>
</html>